An ultra-lightweight Java interpreter for bridging CS1
نویسنده
چکیده
This paper presents an ultra-lightweight Java interpreter for use in teaching CS1 courses. The interpreter is targeted specifically at complete beginner programmers and addresses aspects particularly relevant or troublesome to novices, such as expressions, method calls, method calls as sub-expressions, and recursion. The interpreter works on a subset of Java and is intended as a bridge to a more complete environment. Experiences using the interpreter in a semester of CS1 are favourable, and an analysis of its deployment is presented.
منابع مشابه
Algoritharium: Facilitating an Early Focus on Algorithms in an Objects-Early CS1 Course
Introducing large-scale problems early in the CS1 course has been shown to be an effective way to teach algorithmic concepts. Adopting this approach in a CS1 course taught in Java, however, presents some significant challenges. This paper describes a tool, the Algoritharium, that facilitates the process. The Algoritharium allows CS1 students to explore image processing algorithms by developing ...
متن کاملPedagogies for Teaching CS1 with Java
The introduction of Java to CS1 has resulted in a proliferation of pedagogical approaches. As a more purely objectoriented language (no methods outside of a class construct), Java has forced educators to confront pedagogical issues that the move to C++ did not. In this paper I investigate the range of pedagogical options used to teach three crucial parts of almost any CS1 course taught with Jav...
متن کاملUsing Python To Teach Object-Oriented Programming in CS1
In recent years, Python has made great inroads as an introductory language in computer science education, but few emphasize its object-oriented nature; it is most often introduced with a procedural paradigm. For those teaching object orientation in CS1, Java remains the predominant language. We suggest that Python is an excellent choice for teaching an object-oriented CS1. Based on our experien...
متن کاملSurprises in Teaching CS1 with Java
We describe our experiences teaching our CS1 course with Java. Java has a number of features that complicate using it to teach introductory programming. Although we designed our course to deal with these features, there were some surprises in how the course worked out. We discuss the underlying cause of these surprises. Surprises in Teaching CS1 with Java Peter Andreae, Robert Biddle, Gill Dobb...
متن کاملImplementing an Eecient Java Interpreter
The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower...
متن کامل